<template>
    <root-portal>
        <u-popup :show="popShow" round="44" mode="bottom" @close="() => $emit('popClose')" @open="() => $emit('popOpen')">
            <view class="pop-bg">
                <view class="pop-title">{{ title }}</view>
                <image class="close-icon" @tap="() => $emit('popClose')" src="/static/tanchuang_x.png"></image>
                <!-- <view class="pop-content">
             </view> -->
                <slot name="content"></slot>
            </view>
        </u-popup>
    </root-portal>
</template>
 
<script>
export default {
    props: {
        title: {
            type: String,
            default: ''
        },
        popShow: {
            type: Boolean,
            default: false
        },
    },
    data() {
        return {

        }
    },
    methods: {

    }

}
</script>
 

 